<ui:composition template="/layouts/default.xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui" xmlns:bagora="http://cdt.com.ar/facelets">
	<ui:define name="title">#{msg.category}</ui:define>
	<ui:define name="body">
		<div id="content">
			<div id="main">
				<h:form>
					<bagora:categoryForm category="#{categoryEditMB.categoryDTO}" manageBean="#{categoryEditMB}"/>
					<p:panel styleClass="panelForm buttonForm">
						<p:commandButton value="#{msg.update}" action="#{categoryEditMB.update}" ajax="false" />
						<p:commandButton value="#{msg.cancel}" action="#{categoryEditMB.back}" ajax="false" immediate="true"/>
					</p:panel>					
				</h:form>
			</div>
		</div>
	</ui:define>
</ui:composition>